/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package GUI;

/**
 *
 * @author cynthia
 */
public class PrincipalGUI extends javax.swing.JFrame {

    /**
     * Creates new form PrincipalGUI
     */
    public PrincipalGUI() {
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        cmd_afiliacion = new javax.swing.JButton();
        cmd_citas_general = new javax.swing.JButton();
        cmd_citas_especializadas = new javax.swing.JButton();
        cmd_hospitalizacion = new javax.swing.JButton();
        cmd_urgencias = new javax.swing.JButton();
        cmd_retiros = new javax.swing.JButton();
        cmd_medicina = new javax.swing.JButton();
        cmd_pagos = new javax.swing.JButton();
        cmd_salir = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        cmd_afiliacion.setText("Afiliaciones");
        cmd_afiliacion.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBAfiliacionActionPerformed(evt);
            }
        });

        cmd_citas_general.setText("Citas Generales");
        cmd_citas_general.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBCitasGenActionPerformed(evt);
            }
        });

        cmd_citas_especializadas.setText("Citas Especializadas");
        cmd_citas_especializadas.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBCitasEspActionPerformed(evt);
            }
        });

        cmd_hospitalizacion.setText("Hospitalizaciones");
        cmd_hospitalizacion.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBHospitalizacionesActionPerformed(evt);
            }
        });

        cmd_urgencias.setText("Urgencias");
        cmd_urgencias.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBUrgenciasActionPerformed(evt);
            }
        });

        cmd_retiros.setText("Retiros");
        cmd_retiros.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBRetirosActionPerformed(evt);
            }
        });

        cmd_medicina.setText("Medicinas");
        cmd_medicina.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBMedicinasActionPerformed(evt);
            }
        });

        cmd_pagos.setText("Pagos");
        cmd_pagos.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBPagosActionPerformed(evt);
            }
        });

        cmd_salir.setText("Salir");
        cmd_salir.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                cmd_salirActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(432, 432, 432)
                        .addComponent(cmd_retiros))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(378, 378, 378)
                        .addComponent(cmd_citas_especializadas)))
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(96, 96, 96)
                        .addComponent(cmd_pagos)
                        .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(cmd_hospitalizacion)
                        .addGap(41, 41, 41))))
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap(23, Short.MAX_VALUE)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(cmd_afiliacion)
                        .addGap(45, 45, 45)
                        .addComponent(cmd_medicina)
                        .addGap(18, 18, 18)
                        .addComponent(cmd_citas_general))
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(cmd_salir, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 54, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(cmd_urgencias, javax.swing.GroupLayout.Alignment.TRAILING)))
                .addGap(415, 415, 415))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(23, 23, 23)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(cmd_citas_especializadas)
                    .addComponent(cmd_hospitalizacion))
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                        .addGap(26, 26, 26)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(cmd_retiros)
                            .addComponent(cmd_pagos))
                        .addContainerGap())
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                        .addGap(49, 49, 49)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(cmd_citas_general)
                                .addGap(0, 0, Short.MAX_VALUE))
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(cmd_medicina)
                                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(cmd_afiliacion)
                                .addGap(18, 18, 18)
                                .addComponent(cmd_urgencias)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 211, Short.MAX_VALUE)
                                .addComponent(cmd_salir)
                                .addGap(90, 90, 90))))))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void jBAfiliacionActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBAfiliacionActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jBAfiliacionActionPerformed

    private void cmd_salirActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cmd_salirActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_cmd_salirActionPerformed

    private void jBMedicinasActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBMedicinasActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jBMedicinasActionPerformed

    private void jBCitasGenActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBCitasGenActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jBCitasGenActionPerformed

    private void jBCitasEspActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBCitasEspActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jBCitasEspActionPerformed

    private void jBHospitalizacionesActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBHospitalizacionesActionPerformed
        //TODO add your handling code here:
    }//GEN-LAST:event_jBHospitalizacionesActionPerformed

    private void jBUrgenciasActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBUrgenciasActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jBUrgenciasActionPerformed

    private void jBRetirosActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBRetirosActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jBRetirosActionPerformed

    private void jBPagosActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBPagosActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jBPagosActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(PrincipalGUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(PrincipalGUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(PrincipalGUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(PrincipalGUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new PrincipalGUI().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton cmd_afiliacion;
    private javax.swing.JButton cmd_citas_especializadas;
    private javax.swing.JButton cmd_citas_general;
    private javax.swing.JButton cmd_hospitalizacion;
    private javax.swing.JButton cmd_medicina;
    private javax.swing.JButton cmd_pagos;
    private javax.swing.JButton cmd_retiros;
    private javax.swing.JButton cmd_salir;
    private javax.swing.JButton cmd_urgencias;
    // End of variables declaration//GEN-END:variables
}
